package net.minecraft.src;

import java.util.ArrayList;
import java.util.Random;

public class LF_BlockWoodenTableHigh extends LF_BlockFurnitureBase
{
	public LF_BlockWoodenTableHigh(int i, int j, Class class1, Material mat)
	{
		super(i, j, class1, mat);
	}

	public void getCollidingBoundingBoxes(World world, int i, int j, int k, AxisAlignedBB axisalignedbb, ArrayList arraylist)
	{
		int m = world.getBlockMetadata(i,j,k) / 4;
		float[][] array = {{0.0F, 0.0F, 0.0F, 1.0F, 1.5F, 1.0F}};

		if(m == 0)
			setRotatedCollision(array, world, i, j, k, axisalignedbb, arraylist);

		setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
	}

	public int idDropped(int i, Random random, int j)
	{
		return mod_LF_GenericFurnitureMain.itemWoodenTableHigh.shiftedIndex;
	}

	protected void setup()
	{
		isSingleBlock = false;
		int[][] array =
		{
			{ 0, 1, 0},
			{ 0, 1, 0},
			{ 0, 1, 0},
			{ 0, 1, 0},

			{ 0,-1, 0},
			{ 0,-1, 0},
			{ 0,-1, 0},
			{ 0,-1, 0}
		};
		parts = array;
	}
}